// pages/mine/mine.js
Page({
    toSetting(){
        wx.navigateTo({
          url: '/pages/setting/setting',
        })
    },
    toSFK(){
        wx.navigateTo({
          url: '/pages/payRecieve/payRecieve',
        })
    },
    toSaleJF(){
        wx.navigateTo({
          url: '/pages/saleJFRecords/saleJFRecords',
        })
    },
    /**
     * 页面的初始数据
     */
    data: {
        userMsg:{},
        indicatorDots: true,
    vertical: false,
    autoplay: true,
    interval: 2000,
    duration: 500,
    indicatorActiveColor:'white',
    siwperList:[
        {
            url:'../../image/other/swiper.png'
        },
        {
            url:'../../image/other/swiper.png'
        },
        {
            url:'../../image/other/swiper.png'
        },
    ],
    nav1List:[
        {
            url:'../../image/mine/1.png',
            title:'我的订单'
        },
        {
            url:'../../image/mine/2.png',
            title:'待付款'
        },
        {
            url:'../../image/mine/3.png',
            title:'待使用'
        },
        {
            url:'../../image/mine/4.png',
            title:'待评价'
        },
        {
            url:'../../image/mine/5.png',
            title:'退款售后'
        },
    ],
    nav2List:[
        {
            url:'../../image/mine/6.png',
            title:'合伙人'
        },
        {
            url:'../../image/mine/7.png',
            title:'我的团队'
        },
        {
            url:'../../image/mine/8.png',
            title:'我的消费卷'
        },
        {
            url:'../../image/mine/9.png',
            title:'店铺管理'
        },
        {
            url:'../../image/mine/10.png',
            title:'产出记录'
        },
    ],
    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad(options) {
        this.setData({
            userMsg:wx.getStorageSync('userMsg')
        })
        console.log(this.data.userMsg)
    },

    /**
     * 生命周期函数--监听页面初次渲染完成
     */
    onReady() {

    },

    /**
     * 生命周期函数--监听页面显示
     */
    onShow() {

    },

    /**
     * 生命周期函数--监听页面隐藏
     */
    onHide() {

    },

    /**
     * 生命周期函数--监听页面卸载
     */
    onUnload() {

    },

    /**
     * 页面相关事件处理函数--监听用户下拉动作
     */
    onPullDownRefresh() {

    },

    /**
     * 页面上拉触底事件的处理函数
     */
    onReachBottom() {

    },

    /**
     * 用户点击右上角分享
     */
    onShareAppMessage() {

    }
})